package cn.sinjet.entity;



public class CarInfoDefine {
	
public final static int DEFAULT_TEMPERATURE			= -10000;
public final static int DEFAULT_OUTDOOR_DEGREE		= -10000;
public final static int DEFAULT_WATER_DEGREE		= -10000;
public final static  int DEFAULT_NORMAL				= -1;
public final static String DEFAULT_NORMAL_STRING  	= "--|--";
public final static int WARN_ITEM_NUM 				= 10;

//action
public final static String ACTION_CAR_DOOR_LF_OPEN_UPDATE = "CarInfoDefine.ACTION_CAR_DOOR_LF_OPEN_UPDATE";
public final static String ACTION_CAR_DOOR_RF_OPEN_UPDATE = "CarInfoDefine.ACTION_CAR_DOOR_RF_OPEN_UPDATE";
public final static String ACTION_CAR_DOOR_LR_OPEN_UPDATE = "CarInfoDefine.ACTION_CAR_DOOR_LR_OPEN_UPDATE";
public final static String ACTION_CAR_DOOR_RR_OPEN_UPDATE = "CarInfoDefine.ACTION_CAR_DOOR_RR_OPEN_UPDATE";
public final static String ACTION_CAR_DOOR_BACK_OPEN_UPDATE = "CarInfoDefine.ACTION_CAR_DOOR_BACK_OPEN_UPDATE";
public final static String ACTION_CAR_DOOR_FRONT_OPEN_UPDATE = "CarInfoDefine.ACTION_CAR_DOOR_FRONT_OPEN_UPDATE";
public final static String ACTION_CAR_SAFE_BELT_OPEN_UPDATE = "CarInfoDefine.ACTION_CAR_SAFE_BELT_OPEN_UPDATE";
public final static String ACTION_CAR_HAND_LOCK_OPEN_UPDATE = "CarInfoDefine.ACTION_CAR_HAND_LOCK_OPEN_UPDATE";
public final static String ACTION_CAR_LEFT_DIRECTION_LIGHT_OPEN_UPDATE = "CarInfoDefine.ACTION_CAR_LEFT_DIRECTION_LIGHT_OPEN_UPDATE";
public final static String ACTION_CAR_RIGHT_DIRECTION_LIGHT_OPEN_UPDATE = "CarInfoDefine.ACTION_CAR_RIGHT_DIRECTION_LIGHT_OPEN_UPDATE";
public final static String ACTION_CAR_DOOR_LF_CLOSE_UPDATE = "CarInfoDefine.ACTION_CAR_DOOR_LF_CLOSE_UPDATE";
public final static String ACTION_CAR_DOOR_RF_CLOSE_UPDATE = "CarInfoDefine.ACTION_CAR_DOOR_RF_CLOSE_UPDATE";
public final static String ACTION_CAR_DOOR_LR_CLOSE_UPDATE = "CarInfoDefine.ACTION_CAR_DOOR_LR_CLOSE_UPDATE";
public final static String ACTION_CAR_DOOR_RR_CLOSE_UPDATE = "CarInfoDefine.ACTION_CAR_DOOR_RR_CLOSE_UPDATE";
public final static String ACTION_CAR_DOOR_BACK_CLOSE_UPDATE = "CarInfoDefine.ACTION_CAR_DOOR_BACK_CLOSE_UPDATE";
public final static String ACTION_CAR_DOOR_FRONT_CLOSE_UPDATE = "CarInfoDefine.ACTION_CAR_DOOR_FRONT_CLOSE_UPDATE";
public final static String ACTION_CAR_SAFE_BELT_CLOSE_UPDATE = "CarInfoDefine.ACTION_CAR_SAFE_BELT_CLOSE_UPDATE";
public final static String ACTION_CAR_HAND_LOCK_CLOSE_UPDATE = "CarInfoDefine.ACTION_CAR_HAND_LOCK_CLOSE_UPDATE";
public final static String ACTION_CAR_LEFT_DIRECTION_LIGHT_CLOSE_UPDATE = "CarInfoDefine.ACTION_CAR_LEFT_DIRECTION_LIGHT_CLOSE_UPDATE";
public final static String ACTION_CAR_RIGHT_DIRECTION_LIGHT_CLOSE_UPDATE = "CarInfoDefine.ACTION_CAR_RIGHT_DIRECTION_LIGHT_CLOSE_UPDATE";
public final static String ACTION_CAR_GEAR_UPDATE = "CarInfoDefine.ACTION_CAR_GEAR_UPDATE";
public final static String ACTION_CAR_OIL_REMAIN_UPDATE = "CarInfoDefine.ACTION_CAR_OIL_REMAIN_UPDATE";
public final static String ACTION_CAR_WATER_TEMPERATURE_UPDATE = "CarInfoDefine.ACTION_CAR_WATER_TEMPERATURE_UPDATE";
public final static String ACTION_CAR_TURN_SPEED_UPDATE = "CarInfoDefine.ACTION_CAR_TURN_SPEED_UPDATE";
public final static String ACTION_CAR_SPEED_UPDATE = "CarInfoDefine.ACTION_CAR_SPEED_UPDATE";
public final static String ACTION_CAR_DIRECTION_UPDATE = "CarInfoDefine.ACTION_CAR_DIRECTION_UPDATE";
public final static String ACTION_CAR_BATTERY_UPDATE = "CarInfoDefine.ACTION_CAR_BATTERY_UPDATE";
public final static String ACTION_CAR_HAVE_RUN_DISTANCE_UPDATE = "CarInfoDefine.ACTION_CAR_HAVE_RUN_DISTANCE_UPDATE";
public final static String ACTION_CAR_OIL_WEAR_UPDATE = "CarInfoDefine.ACTION_CAR_OIL_WEAR_UPDATE";
public final static String ACTION_CAR_RADAR_INFO_UPDATE = "CarInfoDefine.ACTION_CAR_RADAR_INFO_UPDATE";
public final static String ACTION_CAR_OBD_PROTOCOL_TYPE = "CarInfoDefine.ACTION_CAR_OBD_PROTOCOL_TYPE";
public final static String ACTION_CAR_OBD_VIN_CODE = "CarInfoDefine.ACTION_CAR_VIN_CODE";
public final static String ACTION_CAR_OBD_HARDWARE_VERSION = "CarInfoDefine.ACTION_CAR_OBD_HARDWARE_VERSION";
public final static String ACTION_CAR_OBD_SOFTWARE_VERSION = "CarInfoDefine.ACTION_CAR_OBD_SOFTWARE_VERSION";
public final static String ACTION_CAR_ERROR_NUM = "CarInfoDefine.ACTION_CAR_ERROR_NUM";
public final static String ACTION_CAR_MONITOR_ERROR_NUM = "CarInfoDefine.ACTION_CAR_MONITOR_ERROR_NUM";
public final static String ACTION_CAR_MONITOR_VOLTAGE = "CarInfoDefine.ACTION_CAR_MONITOR_VOLTAGE";
public final static String ACTION_CAR_MONITOR_SOLAR_TERM_DOOR_VALUE = "CarInfoDefine.ACTION_CAR_MONITOR_SOLAR_TERM_DOOR_VALUE";
public final static String ACTION_CAR_MONITOR_TURN_SPEED = "CarInfoDefine.ACTION_CAR_MONITOR_TURN_SPEED";
public final static String ACTION_CAR_MONITOR_WATER_TEMPERATURE = "CarInfoDefine.ACTION_CAR_MONITOR_WATER_TEMPERATURE";
public final static String ACTION_CAR_MONITOR_THREE_CATALYST_TEMPERATURE_BANK_ONE1 = "CarInfoDefine.ACTION_CAR_MONITOR_THREE_CATALYST_TEMPERATURE_BANK_ONE1";
public final static String ACTION_CAR_MONITOR_THREE_CATALYST_TEMPERATURE_BANK_ONE2 = "CarInfoDefine.ACTION_CAR_MONITOR_THREE_CATALYST_TEMPERATURE_BANK_ONE2";
public final static String ACTION_CAR_MONITOR_THREE_CATALYST_TEMPERATURE_BANK_TWO1 = "CarInfoDefine.ACTION_CAR_MONITOR_THREE_CATALYST_TEMPERATURE_BANK_TWO1";
public final static String ACTION_CAR_MONITOR_THREE_CATALYST_TEMPERATURE_BANK_TWO2 = "CarInfoDefine.ACTION_CAR_MONITOR_THREE_CATALYST_TEMPERATURE_BANK_TWO2";
public final static String ACTION_CAR_MONITOR_THREE_CATALYST_TEMPERATURE_BANK = "CarInfoDefine.ACTION_CAR_MONITOR_THREE_CATALYST_TEMPERATURE_BANK";
public final static String ACTION_CAR_FAST_DETECTION_BEGIN = "CarInfoDefine.ACTION_CAR_FAST_DETECTION_BEGIN";
public final static String ACTION_CAR_FAST_DETECTION_END = "CarInfoDefine.ACTION_CAR_FAST_DETECTION_END";
public final static String ACTION_CAR_SPEED_TEST_40 = "CarInfoDefine.ACTION_CAR_SPEED_TEST_40";
public final static String ACTION_CAR_SPEED_TEST_60 = "CarInfoDefine.ACTION_CAR_SPEED_TEST_60";
public final static String ACTION_CAR_SPEED_TEST_80 = "CarInfoDefine.ACTION_CAR_SPEED_TEST_80";
public final static String ACTION_CAR_SPEED_TEST_100 = "CarInfoDefine.ACTION_CAR_SPEED_TEST_100";
public final static String ACTION_CAR_SPEED_TEST_FAIL = "CarInfoDefine.ACTION_CAR_SPEED_TEST_FAIL";
public final static String ACTION_CAR_SPEED_TEST_SPEED = "CarInfoDefine.ACTION_CAR_SPEED_TEST_SPEED";
public final static String ACTION_CAR_BACK_CAR = "CarInfoDefine.ACTION_CAR_BACK_CAR";
public final static String ACTION_CAR_EXIT_BACK_CAR = "CarInfoDefine.ACTION_CAR_EXIT_BACK_CAR";
//page id
public final static byte PAGE_ID_SMART_METER		= 0;
public final static byte PAGE_ID_CAR_INFO			= 1;
public final static byte PAGE_ID_ERROR_CODE			= 2;
public final static byte PAGE_ID_FAST_DETECTION  	= 3;
public final static byte PAGE_ID_OTHER				= 4;
public final static byte PAGE_ID_SPEED_TEST			= 5;
//
public final static int WATER_TEMPERATURE_MAX		= 112;
public final static int VOLTAGE_MAX					= 15;
public final static int VOLTAGE_MIN					= 10;
//exter
public final static String DATA_NAME_EXTRA_DATA = "CarInfoDefine.DATA_NAME_EXTRA_DATA";
//audio long id 
public final static int AUDIO_TYPE_NORMAL			= 0;
public final static int AUDIO_TYPE_CAR_SPEED_OVER	= 1;
public final static int AUDIO_TYPE_RADAR_DISTANCE	= 2;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
public enum E_MCU_INIT{MCU_INIT_GOING, MCU_INIT_DONE, MCU_INIT_FAIL, MCU_INIT_UNKNOW};
enum E_OBD_TYPE{OBD_TYPE_NONE, OBD_TYPE_J1850_PWM, OBD_TYPE_J1850_VPW, OBD_TYPE_ISO9141_2,
	OBD_TYPE_ISO14230_5BAUD, OBD_TYPE_ISO14230_FAST, OBD_TYPE_ISO15765_500K_11BIT,
	OBD_TYPE_ISO15765_500K_29BIT, OBD_TYPE_ISO15765_250K_11BIT, OBD_TYPE_ISO15765_250K_29BIT,
	OBD_TYPE_UNKNOW
}

public enum E_CAR_DOOR{CAR_DOOR_CLOSE, CAR_DOOR_OPEN, CAR_DOOR_UNKNOW};
public enum E_HAND_LOCK{HAND_LOCK_UP, HAND_LOCK_DOWN, HAND_LOCK_UNKNOW};
public enum E_SAFE_BELT{SAFE_BELT_OPEN, SAFE_BELT_CLOSE, SAFE_BELT_UNKNOW};
public enum E_CAR_WINDOW{CAR_WINDOW_CLOSE, CAR_WINDOW_OPEN, CAR_WINDOW_UNKNOW};
public enum E_FOOT_LOCK{FOOT_LOCK_OPEN, FOOT_LOCK_CLOSE, FOOT_LOCK_UNKNOW};
public enum E_RAIN_WIPER{RAIN_WIPER_OPEN, RAIN_WIPER_CLOSE, RAIN_WIPER_UNKNOW};
public enum E_DIRECT_LIGHT{DIRECT_LIGHT_OFF,DIRECT_LIGHT_ON, DIRECT_LIGHT_UNKNOW};

public enum E_WARNING_AUDIO_FILE_ID
{
	WARNING_AUDIO_FILE_ID_LEFT_FORWARD_DOOR_OPEN,
	WARNING_AUDIO_FILE_ID_RIGHT_FORWARD_DOOR_OPEN,
	WARNING_AUDIO_FILE_ID_LEFT_REAR_DOOR_OPEN,
	WARNING_AUDIO_FILE_ID_RIGHT_REAR_DOOR_OPEN,
	WARNING_AUDIO_FILE_ID_BACK_DOOR_OPEN,
	WARNING_AUDIO_FILE_ID_SAFETY_BELT_NOT_LOCK,
	WARNING_AUDIO_FILE_ID_HAND_LOCK_LOCK,
	WARNING_AUDIO_FILE_ID_CLEAN_WATER_OVER,
	WARNING_AUDIO_FILE_ID_SEVERAL_DOOR_OPEN,
	WARNING_AUDIO_FILE_ID_OIL_BELOW_SAFETY_LINE,
	WARNING_AUDIO_FILE_ID_UNKNOW
};

enum E_WARN_SCAN_ID
{
	WARN_SCAN_ID_LEFT_FORWARD_DOOR_OPEN,
	WARN_SCAN_ID_RIGHT_FORWARD_DOOR_OPEN,
	WARN_SCAN_ID_LEFT_REAR_DOOR_OPEN,
	WARN_SCAN_ID_RIGHT_REAR_DOOR_OPEN,
	WARN_SCAN_ID_BACK_DOOR_OPEN,
	WARN_SCAN_ID_SAFETY_BELT_NOT_LOCK,
	WARN_SCAN_ID_HAND_LOCK_LOCK,
	WARN_SCAN_ID_CLEAN_WATER_OVER,
	WARN_SCAN_ID_SEVERAL_DOOR_OPEN,
	WARN_SCAN_ID_OIL_BELOW_SAFETY_LINE,
	WARN_SCAN_ID_UNKNOW,
};



}
